package com.hrsaas.ext.spider.handler;

import com.hrsaas.ext.spider.core.ResponseHandler;

import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.HttpResponseStatus;

public abstract class TextResponseHandler extends ResponseHandler<String> {

	final String compress_header = "Content-Encoding";
	
	@Override
	protected Object convert(HttpResponseStatus status, HttpHeaders headers, byte[] content) {
		return getConent(content);
	}

}
